import { defineStore } from "pinia";
// import piniaPersistConfig from "@/stores/helper/persist";

export const useGeneralProjectLs = defineStore({
  id: "useGeneralProjectLs",
  state: () => ({
    // 组合项目列表的数据,每次点击的数据
    zuHeOption: [] as any,
    treeId: "" as String
  }),
  getters: {},
  actions: {
    setZuHeOption(data: any) {
      this.zuHeOption = data;
    },
    setTreeId(data: any) {
      this.treeId = data;
    }
  }
  // persist: piniaPersistConfig("geeker-integratedProject")
});
